package com.mass.core.sys.file.service;

import com.mass.core.sys.file.model.FileInfoTemp;
import org.springframework.web.multipart.MultipartHttpServletRequest;
import java.util.List;

/**
 * 上传文件接口类</p>
 *
 * @author liwenjun
 * @version 1.0.0
 * @date 2016/11/21 10:02
 */
public interface FileUploadService {


    /**
     * 文件上传
     * @param request
     * @param code
     * @param isShrink
     * @return
     */
    List<FileInfoTemp> uploadFile(MultipartHttpServletRequest request, String code, boolean isShrink);

}
